package com.senior.sendmessage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * @author bjl_m
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("book")
public class Book {
    private Integer id;
    private String name;
    private String author;
    @TableField(exist = false)
    private String address;
    //    @TableField(typeHandler = JacksonTypeHandler.class)
    private String hobby;
    private List<String> hobbyList;
    private LocalDate now = LocalDate.now();
}
